package org.learn.test;
import java.util.Scanner;
public class Switch01 {
    public static void main(String[] args) {
        System.out.println("请输入字符");
        Scanner myScanner = new Scanner(System.in);
        char character1 = myScanner.next().charAt(0);
        switch(character1){
            case 'a' :
                System.out.println("今天星期一，猴子穿新衣");
                break;
            case 'b' :
                System.out.println("今天星期二，猴子当小二");
                break;
            case 'c' :
                System.out.println("今天星期三，猴子爬雪山");
                break;
            //.......
            default:
                System.out.println("你输入的字符不正确");

        }

        System.out.println("继续执行");

    }
}
